﻿using Dapper.Contrib.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.Model.Model
{


    [Serializable]
    [Table("merchant_info")]
    public class MerchantInfo : BaseModel<long>
    {
        /// <summary>
        /// AppId
        /// </summary>
        public string AppId { get; set; }
        /// <summary>
        /// 商户秘钥
        /// </summary>
        public string AccessKey { get; set; }
        /// <summary>
        /// 商户编号
        /// </summary>
        public string MerchantCode { get; set; }
        /// <summary>
        /// 费率
        /// </summary>
        public decimal FeeRate { get; set; }
        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime ExpireTime { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 余额
        /// </summary>
        public decimal TotalAmount { get; set; }

        public string Name { get; set; }

        public decimal FreezeAmount { get; set; }
    }
}
